package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.dto.course.CourseDTO;
import com.qk.entity.Course;

import java.util.List;

/**
 * @author: hm
 * @Date: 2025/10/06 22:21
 * @Description:
 */
public interface CourseService {
    List<Course> getBySubject(Integer subject);

    List<Course> queryAllCourses();

    void update(Course course);

    Course getById(Integer id);

    void deleteById(Integer id);

    PageResult<Course> page(CourseDTO dto);

    void addCourse(Course course);
}
